import java.awt.Color;


public class Flag {
	private int x;
	private int y;
	private int side;
	private int startX;
	private int startY;
	private Color c;
	
	public Flag(Color c1, int s, int sX, int sY) {
		c = c1;
		x = sX;
		y = sY;
		side = s;
		startX = sX;
		startY = sY;
	}
	
	
	public Color getColor() {
		return c;
	}
	
	public void setX(int s) {
		x = s;
	}
	
	public void setY(int s) {
		y = s;
	}
	
	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public int getSide() {
		return side;
	}
	
	public void reset() {
		x = startX;
		y = startY;
	}
}
